package liujia.bt.display.base.vo
{
	public class ListenerVO
	{
		public var type:String;
		
		public var listener:Function;
		
		public var useCapture:Boolean = false;
		
		public var priority:int = 0;
		
		public var useWeakReference:Boolean = false;
		
		public function ListenerVO(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false)
		{
			this.type = type;
			this.listener = listener;
			this.useCapture = useCapture;
			this.priority = priority;
			this.useWeakReference = useWeakReference;
		}
		
		public function destroy():void {
			type = "";
			listener = null;
			useCapture = false;
			priority = 0;
			useWeakReference = false;
		}
	}
}